﻿@model CarsRegistrationService.Models.ViewModel.BaseModel
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@ViewBag.Title</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <link href="http://fonts.googleapis.com/css?family=Abel" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/CSS/common.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Content/Scripts/System/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/System/jquery.slidertron-1.0.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/System/jquery.dropotron-1.0.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Content/Scripts/System/jquery.poptrox-1.0.js")" type="text/javascript"></script>
</head>
<body>
    <div id="wrapper">
        <div id="header-wrapper">
            <div id="header">
                <div id="logo">
                    <h1>
                        ГИБДД</h1>
                    <p>
                        Регистрация транспортных средств</p>
                </div>
            </div>
        </div>
        <div id="menu-wrapper">
            <ul id="menu" class="@Model.Selection">
                @if (!Model.IsAdmin)
                {
                    if (Model.IsLoggedIn)
                    {
                        <li class="LogOut"><a href="/Expert/LogIn"><span>Выход</span></a></li>
                        <li class="requestList"><a href="/Expert/RequestsPage"><span>Cписок заявок</span></a></li>
                    }
                    else
                    {
                        <li class="login"><a href="/Expert/Login"><span>Вход в систему</span></a></li>
                        @*<li class="registration"><a href="/Expert/Registration"><span>Регистрация</span></a></li>*@
                    }
                }
                else
                {
                    <li class="LogOut"><a href="/Expert/LogIn"><span>Выход</span></a></li>
                    <li class="registration"><a href="/Expert/Registration"><span>Регистрация эксперта</span></a></li>
                    <li class="registration"><a href="/Expert/Registration"><span>Регистрация инспектора</span></a></li>
                }
            </ul>
        </div>
        <div id="page">
            <div id="content">
                @RenderBody()
                <div style="clear: both;">
                    &nbsp;</div>
            </div>
        </div>
    </div>
</body>
</html>
